﻿#ifndef FINDWORD_H
#define FINDWORD_H

#include <QMainWindow>

namespace Ui {
class findWord;
}

class findWord : public QMainWindow
{
    Q_OBJECT

public:
    explicit findWord(QWidget *parent = 0);
    findWord(QString & user);
    ~findWord();

signals:
    findword(QString word);
    history();
    addWord(QString word);
    reciteword();
    CheckWord(QString word,QString exp);
private slots:
    void on_pushButton_find_clicked();

    void on_pushButton_history_clicked();

    void show_findword(QString exp);

    void show_history(QString history);

    void show_reciteWord(QString reciteWord);

    void on_pushButton_addword_clicked();

    void on_pushButton_reciteword_clicked();

    void addWord_Message(QString num);

    void deal_CheckWord_Result(QString CheckWordResult);
    void on_pushButton_submit_clicked();

private:
    Ui::findWord *ui;
    QStringList Stringlist;
    QString username;
};

#endif // FINDWORD_H
